package cn.jeefast.common.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author theodo
 * @since 2019-12-30
 */
@TableName("mb_treatment_plan")
public class MbTreatmentPlan extends Model<MbTreatmentPlan> {

    private static final long serialVersionUID = 1L;

	@TableId(value="tp_id", type= IdType.AUTO)
	private Long tpId;
    /**
     * 治疗方案
     */
	private String title;
    /**
     * 多个单位以“，”隔开，如 0.5瓶/天,1瓶/天
     */
	private String unit;

	/**
	 * 关联项目ID
	 */
	private Long projId;


	public Long getTpId() {
		return tpId;
	}

	public void setTpId(Long tpId) {
		this.tpId = tpId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	@Override
	protected Serializable pkVal() {
		return this.tpId;
	}

	public Long getProjId() {
		return projId;
	}

	public void setProjId(Long projId) {
		this.projId = projId;
	}



	@Override
	public String toString() {
		return "MbTreatmentPlan{" +
			", tpId=" + tpId +
			", title=" + title +
			", unit=" + unit +
			"}";
	}
}
